<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DepartmentList.ascx.cs"
    Inherits="UserControls_DepartmentList" %>
<asp:DataList ID="list" runat="server" Width="200px">
    <HeaderTemplate>
     Kategorie
    </HeaderTemplate>
    <ItemTemplate>
        <asp:HyperLink ID="HyperLink1" runat="server"  
        NavigateUrl='<%# "../Catalog.aspx?DepartmentID=" + Eval("DepartmentID")%>' 
        Text='<%# Eval("Name")+" "+Eval("NumberOfProducts") %>'>
        </asp:HyperLink>
    </ItemTemplate>
</asp:DataList>
